package com.crois.barrier.server;

import com.zhimydou.cloud.common.service.MessageEventProcessSvc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@ComponentScan(basePackages = {"com.crois.barrier.server","com.crois.barrier.transport","com.zhimydou.cloud.common","com.zhimydou.cloud.auth"},excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {MessageEventProcessSvc.class}))
@MapperScan({"com.zhimydou.cloud.auth.core.mapper"})
@EnableDiscoveryClient
@SpringBootApplication
public class Barrier {

	public static void main(String[] args) {
		SpringApplication.run(Barrier.class, args);
	}

}
